CFLAGS=-Wall -Wextra -pedantic -ansi -Wno-unused-parameter

all: task4 task5 task6 task7

task4: thread4

task5: thread5

task6: thread6

task7: thread7

thread4: thread4.c
	gcc $(CFLAGS) -lrt -o thread4 thread4.c

thread5: thread5.c
	gcc $(CFLAGS) -lrt -o thread5 thread5.c

thread6: thread6.c
	gcc $(CFLAGS) -lrt -o thread6 thread6.c

thread7: thread7.c
	gcc $(CFLAGS) -lrt -o thread7 thread7.c

clean: FORCE
	rm -r thread*[0-9]

FORCE:
